package com.ruoyi.kaoyan.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.model.BaseEntityPlus;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 考研资讯(EducationNews)表实体类
 *
 * @author jiuling
 * @since 2023-04-25 17:02:04
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class EducationNews extends BaseEntityPlus {
    /**
     * 主键
     */     
    @Excel(name = "主键")
    @ApiModelProperty(value = "主键")
    private Long id;
    /**
     * 标题
     */     
    @Excel(name = "标题")
    @ApiModelProperty(value = "标题")
    private String title;
    /**
     * 封面
     */     
    @Excel(name = "封面")
    @ApiModelProperty(value = "封面")
    private String cover;
    /**
     * 内容
     */     
    @Excel(name = "内容")
    @ApiModelProperty(value = "内容")
    private String content;
    /**
     * 点赞量
     */     
    @Excel(name = "点赞量")
    @ApiModelProperty(value = "点赞量")
    private Long likeCount;
    /**
     * 评论量
     */     
    @Excel(name = "评论量")
    @ApiModelProperty(value = "评论量")
    private Long commentCount;
    /**
     * 阅读量
     */     
    @Excel(name = "阅读量")
    @ApiModelProperty(value = "阅读量")
    private Long readCount;

    @TableField(exist = false)
    private String coverPath;
}
